package com.dgshanger.sanhxiaofeisc.mvp.contract;

import com.dgshanger.sanhxiaofeisc.entity.BillEntity;
import com.xx.baseuilibrary.mvp.BaseMvpView;
import com.xx.baseutilslibrary.network.rx.RxHttpObserver;

/**
 * BillDetailContract
 * 沉迷学习不能自拔
 * Describe：
 * Created by 雷小星🍀 on 2018/5/9 17:57.
 */

public interface BillDetailContract {

    interface Model {
        /**
         * 加载详情
         */
        void loadDetail(String log_id, RxHttpObserver<BillEntity> httpObserver);
    }

    interface View extends BaseMvpView {
        /**
         * 设置账单数据
         */
        void setDetails(BillEntity billEntity);

        /**
         * 获取id
         *
         * @return id
         */
        String getLogId();

    }

    interface Presenter {
        /**
         * 加载详情
         */
        void loadDetail();
    }
}
